import request from '@/utils/api'

interface loginParam {
   userName: string,
   password: string
}

const actions = {
   handleLogin(context: object, params: loginParam) {
      return request.post('/user/admin/login', params)
   }
}

export default {
   actions
}
